#ifndef _SIP_SERVER_H_
#define _SIP_SERVER_H_

#include <thread>
#include "extension-base-class.h"
#include "eXosip2/eXosip.h"

class sip_client
{
public:
    sip_client();
    ~sip_client();

    bool server_start_platform();

    void hk_eXosip_processEvent_superior_platform();

private:
    struct eXosip_t *mp_ectx_platform = nullptr;

    bool mb_thread_fini = false;
    std::thread *mpt_event_thread = nullptr;
};

typedef singleton_locker_factory<sip_client> singleton_lock_sip_client_handler;

#endif
